﻿//////////////////////////////////////////////////////////////////
//
// CityEntity.cs
//
// Copyright (c) 2012 Dan Pike. All rights reserved
//
// Refer to license.txt for any license restrictions.
// 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
   public class CityEntity : Entity
   {
      ////////////////////////////////////////////////////////////////////////
      //
      public CityEntity(World world)
         : base(world)
      {
      }

      //////////////////////////////////////////////////////////////////////////
      // If this relates to an entity held in a city, then we have a link to that city
      // If it is not associated with any city, then it is null
      public virtual City city
      {
         get { return city_; }
         set { city_ = value; }
      }

      ////////////////////////////////////////////////////////////////////////
      //
      private City city_;
   }
}
